public class Test implements Runnable {
    private char ch;
    public static void main(String[] args) {
        new Test('z');
        new Test('q');
        new Test('n');
    }
    public Test(char ch) {
        this.ch = ch;
        Thread t = new Thread(this);
        t.start();
        //t.start();
    }
    public void run() {
        for(int i =0; i < 1000; i++)
        System.out.print(ch);
    }
}